<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
  	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  	<title>会员中心</title>
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
  	<link rel="stylesheet" href="<?php echo WEBURL ?>/public/global/layui/css/layui.css">
  	<link rel="stylesheet" type="text/css" href="<?php echo WEBURL ?>/public/user/style.css?{{NOWTIME}}"/>
	<link rel="stylesheet" type="text/css" href="<?php echo WEBURL ?>/public/user/wap_style.css?{{NOWTIME}}"/>
  	<script type="text/javascript" src="<?php echo WEBURL ?>/public/global/jquery/1.11.1/jquery.min.js" ></script>
  	<script type="text/javascript" src="<?php echo WEBURL ?>/public/global/layui/layui.js"></script>
</head>
<body>
	<div class="wap_head_menu bcf">
		<div class="wap_head_menu_left">
			<span><a class="userfont user-fanhui" href="javascript:history.go(-1);location.replace(document.referrer);"></a></span>
		</div>
		<div class="wap_head_menu_center">会员中心</div>
		<!-- <div class="wap_head_menu_right">
			<span><a >返回</a></span>
		</div> -->
	</div>
	<div class="left  w-100 wap_head_menu_bottom"></div>
	<div class="wap_user bcf left w-100">
		<div class="wap_user_left left">
			<img src="{{C('MYDB.thumb')}}" >
		</div>
		<div class="wap_user_right left">
			<div class="wap_user_right_jf">
				<span class="b">用&nbsp;&nbsp;户&nbsp;&nbsp;名:</span>
				<span class="b">{{C('mydb.username')}}</span>
			</div>
			<div class="wap_user_right_jf">
				<span class="b">注册时间:</span>
				<span class="">{{date('Y-m-d H:i:s',C('mydb.regtime'))}}</span>
			</div>
			<div class="wap_user_right_jf">
				<span class="b">会员级别:</span>
				<span class="">{{C('MYGROUP.name')}}</span>
			</div>
			<div class="wap_user_right_jf">
				<span class="b">积&emsp;&emsp;分:</span>
				<span class="b red">{{C('mydb.integral')}}</span>
			</div>
			<div class="wap_user_right_jf">
				<span class="b">人&nbsp;&nbsp;民&nbsp;&nbsp;币:</span>
				<span class="b red">{{C('mydb.rmb')}}</span>
			</div>
		</div>
	</div>
	<div class="wap_my w-100 left mt10 bcf">
		<a href="/user/Myprofile/edit_my_profile">
			<span class="userfont user-userinfo"></span>
			<span>我的资料</span>
		</a>
		<a href="/user/sms/alllist">
			<span class="userfont user-_zhanneiduanxin"></span>
			<span>站内信息</span>
		</a>
		<a href="/user/jifen/alllist">
			<span class="userfont user-jifen"></span>
			<span>积分日志</span>
		</a>
	</div>
	<div class="wap_more bcf left w-100 mt10">
		<div class="sort b left w-100">
			<span>信息管理</span>
		</div>
		<ul>
			<dd><a href="/user/articles/alllist/">我发布的文章</a></dd>
			<dd><a href="/user/articles/add/">添加文章</a></dd>
			<dd><a href="/user/comment/alllist/">我的评论</a></dd>
		</ul>
	</div>
	<div class="c"></div>
	<?php foreach($Modular_DB AS $key=>$RS) { ?>
	<div class="wap_more bcf left w-100 mt10">
		<div class="sort b left w-100">
			<span><?php ECHO $RS[name] ?></span>
		</div>
		<ul>
			<?php foreach($RS['rute'] AS $_key=>$RSS) { ?>
				<?php foreach($RSS AS $__key=>$name) { ?>
				<dd><a href="<?php echo '/user/index/modular/'.$RS[dir].'/'.$_key.'/'.$__key ?>"><?PHP echo $name ?></a></dd>
				<?php } ?>
			<?php } ?>
		</ul>
	</div>
	<div class="c"></div>
	<?php } ?>
	
	<?php foreach($pluginDB AS $key=>$RS) { ?>
	<div class="wap_more bcf left w-100 mt10">
		<div class="sort b left w-100">
			<span><?php ECHO $RS[name] ?></span>
		</div>
		<ul>
			<?php foreach($RS['rute'] AS $_key=>$RSS) { ?>
				<?php foreach($RSS AS $__key=>$name) { ?>
				<dd><a href="<?php echo '/user/index/plugin/'.$RS[dir].'/'.$_key.'/'.$__key ?>"><?PHP echo $name ?></a></dd>
				<?php } ?>
			<?php } ?>
		</ul>
	</div>
	<div class="c"></div>
	<?php } ?>
	<div class="wap_login_out center w-100 left mt10">
		<a href="/login/index/login_out">退出</a>
	</div>
</body>
</html>
